package com.ftg.learn.assess.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ftg.learn.assess.dto.AddAdminPageQueryDto;
import com.ftg.learn.assess.dto.UserAddAssessDto;
import com.ftg.learn.assess.dto.UserAdditionalDto;
import com.ftg.learn.assess.entity.Additional;
import com.ftg.learn.assess.entity.Assess;
import com.ftg.learn.assess.entity.Media;
import com.ftg.learn.assess.result.PageResult;
import com.ftg.learn.assess.result.Result;

import java.util.List;

public interface AdditionalService extends IService<Additional>  {
    Result<String> assess(UserAddAssessDto addAssessDto);

    Result<String> addAdditional(UserAdditionalDto userAdditionalDto);

    Result<PageResult> pageQuery(AddAdminPageQueryDto queryDto);

    Result<List<Additional>> getAdditionalsByEvaluationId(Long evaluationId);

    Result<List<Additional>> MyPageageQuery(Long evaluationId);

}
